package cn.com.guanying.android.ui;

import android.content.Intent;
import android.view.KeyEvent;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.LinearLayout;
import android.widget.TextView;
import cn.com.guanying.R;


public class ToBePlayMovieDetailsActivity extends BaseActivity implements OnClickListener{
	
	public void doInit() {
		mTitleLeftButton.setText("返回");
		mTitleContent.setText("武侠");
//		mTitleRigthButton.setText("分享");
		mTitleLeftButton.setOnClickListener(this);
	}

	public void doFindView() {
		mTitleLeftButton = (Button)findViewById(R.id.left_title_button);
		mTitleContent = (TextView)findViewById(R.id.title_content);
		mTitleRigthButton = (Button)findViewById(R.id.right_title_button);
		mTitleLeftButton.setVisibility(View.VISIBLE);
		mTitleContent.setVisibility(View.VISIBLE);
//		mTitleRigthButton.setVisibility(View.VISIBLE);
	}

	protected void onLogicEventUI(Object sender, int eventId, Object[] datas) {

	}

	protected int getContentView() {
		return R.layout.activity_movie_tobeplay_details;
	}

	public void onClick(View v) {
		if(v.getId()==R.id.left_title_button){
			finish();
		}
	}
	
	public void toCinemaListPage(){
		Intent intent = new Intent(this,CinemaActivity.class);
		startActivity(intent);
	}
}
